/*!
  * 2018-12-23
  * (c) 2018 PING
  * @cmsya.com
  * 2018-12-26 添加 vuex
  * 2018-12-25 更新路径变量 libsFilePath
  */
var oNowTime = new Date().getTime();
//console.log(oNowTime);
var urlLibs = document.domain; //获取域名，不包括'http://'
var libsFilePath = './assets/libs' //框架路径
//document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"./assets/libs/css/cssreset.css\"/>");
//document.write("<scr" + "ipt src='./assets/libs/js/jquery.min.js'></scr" + "ipt>");

//console.log('当前域名为：' + urlLibs);
//document.write("<scr" + "ipt src='http://code.jquery.com/jquery-3.2.1.min.js'></scr" + "ipt>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/jquery.min.js'></scr" + "ipt>");
document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css\"/>");
document.write("<scr" + "ipt src='https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js'></scr" + "ipt>");
//document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"./libs/css/bootstrap.min.css\"/>");
//document.write("<scr" + "ipt src='./libs/js/bootstrap.min.js'></scr" + "ipt>");

document.write( "<link rel=\'stylesheet\' type=\'text/css\' href=\'" + libsFilePath + "/css/cssreset.css\'/>");
document.write( "<link rel=\'stylesheet\' type=\'text/css\' href=\'" + libsFilePath + "/css/animate.min.css\'/>");

// Vue.js
document.write("<scr" + "ipt src='" + libsFilePath + "/js/vue.js'></scr" + "ipt>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/vuex.min.js'></scr" + "ipt>");
//document.write("<scr" + "ipt src='https://unpkg.com/vue-router/dist/vue-router.js'></scr" + "ipt>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/vue-router.js'></scr" + "ipt>");
//document.write("<scr" + "ipt src='https://cdn.jsdelivr.net/npm/vue-resource'></scr" + "ipt>");
//document.write("<scr" + "ipt src='" + libsFilePath + "/js/vue-resource.js'></scr" + "ipt>");
// vue懒加载
//document.write("<scr" + "ipt src='https://unpkg.com/vue-lazyload/vue-lazyload.js'></scr" + "ipt>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/vue-lazyload.js'></scr" + "ipt>");
// axios
//document.write("<scr" + "ipt src='https://unpkg.com/axios/dist/axios.min.js'></scr" + "ipt>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/axios.min.js'></scr" + "ipt>");

// QQ登录
//document.write("<scr" + "ipt type='text/javascript' charset='utf-8 'src='http://connect.qq.com/qc_jssdk.js' data-appid='101499169' data-redirecturi='http://www.hnlucky.cn/api/qqcallback'></scr" + "ipt>");

document.write( "<link rel=\'stylesheet\' type=\'text/css\' href=\'" + libsFilePath + "/css/swiper.min.css\'/>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/swiper.min.js'></scr" + "ipt>");

document.write("<scr" + "ipt src='" + libsFilePath + "/js/wow.min.js'></scr" + "ipt>");

// mmenu
document.write( "<link rel=\'stylesheet\' type=\'text/css\' href=\'" + libsFilePath + "/css/jquery.mmenu.all.css\'/>");
document.write("<scr" + "ipt src='" + libsFilePath + "/js/jquery.mmenu.all.min.js'></scr" + "ipt>");

//二维码生成
//document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"https://unpkg.com/vue-qrcode-reader/dist/vue-qrcode-reader.css\"/>");
//document.write("<scr" + "ipt src='https://unpkg.com/vue-qrcode-reader/dist/vue-qrcode-reader.browser.js'></scr" + "ipt>");
/*
window.onload =function () {


}  // window.onload  end
*/